<template>
	<view class="recordBox">
		<view class="recordItem" v-for="(item,index) in 2">
			<view class="title">
				<view>核酸检测记录</view>
				<view class="time">2022-04-02</view>
			</view>
			<view class="contentList">
				<view class="contentItem">
					<view class="label">检测人</view>
					<view class="value">小明</view>
				</view>
				<view class="contentItem">
					<view class="label">服务项目</view>
					<view class="value">新型冠状病毒检测</view>
				</view>
				<view class="contentItem">
					<view class="label">检测号</view>
					<view class="value">8916276371523651</view>
				</view>
				<view class="contentItem">
					<view class="label">样本类型</view>
					<view class="value">鼻咽拭子</view>
				</view>
				<view class="contentItem">
					<view class="label">检测状态</view>
					<view class="value">待检测</view>
				</view>
			</view>
			<view class="showDetail">支付金额:
				<view class="money">28元</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			// 挂号记录详情
			registrationDetail() {
				uni.navigateTo({
					url: '/pages/registrationDetail/registrationDetail'
				})
			},
		},
	}
</script>
<style>
	page {
		width: 100%;
		height: 100%;
		background: #F8F8F8;
	}
</style>
<style scoped lang="scss">
	.recordBox {
		height: 100%;
		padding: 0 40rpx;

		.recordItem {
			margin-top: 20rpx;
			background-color: #FFFFFF;

			.title {
				height: 66rpx;
				padding: 0 20rpx;
				line-height: 66rpx;
				background: #E1E1E1;
				font-size: 32rpx;
				color: #141414;
				display: flex;
				justify-content: space-between;
				.time{
					color: #6D6D6D;
				}
			}

			.contentList {
				display: flex;
				flex-direction: column;
				font-size: 28rpx;
				color: #6D6D6D;

				.contentItem {
					display: flex;
					align-items: center;
					justify-content: space-between;
					border-bottom: 1px dashed #C1C1C1;
					height: 66rpx;
					padding: 0 20rpx;
					line-height: 66rpx;
				}
			}

			.showDetail {
				padding: 20rpx;
				display: flex;
				align-items: center;
				color: #6D6D6D;
				justify-content: flex-end;
				.money{
					color: #548AFB;
				}
			}
		}
	}
</style>
